﻿using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using PayPalCheckoutSdk.Orders;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AppFramework.DinosaursParkMes.Product
{
    /// <summary>
    /// 产品分类表
    /// </summary>
    [Table("tb_ProductClassification")]
    public class ProductClassification : AuditedEntity<int>, ISoftDelete
    {

        [MaxLength(50)]
        [Display(Name = "分类名称")]
        [Column(TypeName = "nvarchar(50)")]
        /// <summary>
        /// 分类名称
        /// </summary>
        public string Classname { get; set; }
        [Display(Name = "父级id")]
        [Column(TypeName = "int")]
        /// <summary>
        /// 父级id
        /// </summary>
        public int Fatherid { get; set; }

        public bool IsDeleted { get; set; }
    }
}
